<template>
  <MyBG class="flex items-center justify-center">
    <div class="pb-16 flex flex-col items-center">
      <img src="@assets/svg/404插画.svg" class="w-100" alt="404错误" />
      <el-button
        type="primary"
        size="large"
        class="rounded-xl border-transparent shadow-md p-2"
        @click="router.push('/')"
      >
        <el-icon size="large"><HomeFilled /></el-icon>
        回到首页</el-button
      >
    </div>
  </MyBG>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
import MyBG from "@/components/MyBackGround.vue";

const router = useRouter();
</script>

<style scoped lang="scss"></style>
